home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.3 Development Libraries / SGI IRIX 6.3 Development Libraries.iso / dist6.3 / ViewKit_dev.idb / usr / share / src / ViewKit / Applications / PhoneBook / Info.h.z / Info.h
Encoding:
C/C++ Source or Header  |  1996-09-20  |  2.0 KB  |  52 lines

  1. ////////////////////////////////////////////////////////////////////////////////
  2. ///////   Copyright 1992, Silicon Graphics, Inc.  All Rights Reserved.   ///////
  3. //                                                                            //
  4. // This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;     //
  5. // the contents of this file may not be disclosed to third parties, copied    //
  6. // or duplicated in any form, in whole or in part, without the prior written  //
  7. // permission of Silicon Graphics, Inc.                                       //
  8. //                                                                            //
  9. // RESTRICTED RIGHTS LEGEND:                                                  //
  10. // Use,duplication or disclosure by the Government is subject to restrictions //
  11. // as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data     //
  12. // and Computer Software clause at DFARS 252.227-7013, and/or in similar or   //
  13. // successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -    //
  14. // rights reserved under the Copyright Laws of the United States.             //
  15. //                                                                            //
  16. ////////////////////////////////////////////////////////////////////////////////
  17. #ifndef INFO_H
  18. #define INFO_H
  19.  
  20. #include <Vk/VkComponent.h>
  21.  
  22. class VkTabPanel;
  23. class Entries;
  24.  
  25. class Info : public VkComponent {
  26.   public:
  27.     Info(const char *name, Widget parent);
  28.     ~Info();
  29.     
  30.     const char *className();
  31.     
  32.     void selectRange(char *range, Boolean resetScroll = True);
  33.     Entries *getEntries() { return entries; }
  34.     
  35.   protected:
  36.     void tabSelect(VkComponent *comp, void *clientData, void *callData);
  37.     void resizeCW(Widget cw);
  38.     void startBlank();
  39.     void endBlank();
  40.     void reallyEndBlank();
  41.     
  42.     static void resizeCallback(Widget w, XtPointer clientData, XtPointer callData);
  43.     static Boolean blankCallback(XtPointer clientData);
  44.     
  45.     Widget blank;
  46.     VkTabPanel *panel;
  47.     Entries *entries;
  48.     Widget scroll, vsb;
  49. };
  50.  
  51. #endif
  52.